#include "numericvalue.h"

const NumericValueType numericValueType = { 0 };
static const NumericValue prototype = { &numericValueType, 0 };


extern int NumericValue_dispatchOperation(
	const NumericValue* self, const NumericValue* n, 
	char op, NumericValue* result)
{
	return self->type->dispatchOperation(self, n, op, result);
}

extern int NumericValue_int32Operation(
    const NumericValue* self, char op, gint32 n, NumericValue* result)
{
	return self->type->int32Operation(self, op, n, result);
}

extern int NumericValue_doubleOperation(
	const NumericValue* self, char op, gdouble n, NumericValue* result)
{
	return self->type->doubleOperation(self, op, n, result);
}